<?php if( (!isset($_GET['page'])) || (!is_numeric($_GET['page'])) )
{
	$page=0;
}else{
$page = $_GET['page'];
}

if( (!isset($_GET['id'])) || (!is_numeric($_GET['id'])) )
{
	$id=0;
}else{
	$id = $_GET['id'];
}

if( (!isset($_GET['lang'])) || (!is_numeric($_GET['lang'])) )
{
	$lang=0;
}else{
	$lang = $_GET['lang'];
}

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="Sartoria Bucci - Artena - Roma - Italy" />
<meta name="googlebot" content="index, follow" />
<meta name="robots" content="index, follow" />
<meta name="keywords" content="sartoria bucci, la sartoria artena, sartoria tradizionale, abiti su misura, bottega sarto, roma, 
		artena, Holland e sherry, scabal, taylor and lodge, shetland, scottish, harris tweed, crockett and jones" />
		
<title>Sartoria Bucci - Artena - Roma</title>

<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
<link rel="stylesheet" href="css/style.css" type="text/css"/>

<?php  if($page==0){?>
	<link rel="stylesheet" href="css/style.css" type="text/css"/>
	<script href="js/easing.js" type="text/javascript"></script>
	<script  type="text/javascript">
	
	///ANIMAZIONE LOGO
	$(document).ready(function(){
		$("#intro_logo")
		.hide()
		.fadeIn(1500);
	});
	
	$(document).ready(function(){
		$("#intro_enter")
		.hide()
		.fadeIn(1500);
	});
	
	///ANIMAZIONE BARRA FOOTER
	$(document).ready(function(){
		$("#intro_footer")
		.hide()
		.animate({
			height: 'show'}, 800, 'swing');
	});
	
	</script>
<?php } else {?>
<link rel="stylesheet" href="css/nivo-slider/default.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/nivo-slider/pascal.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/nivo-slider/orman.css" type="text/css" media="screen" />
<link rel="stylesheet" href="css/nivo-slider/nivo-slider.css" type="text/css" media="screen" />

<!-- Nivo slider -->
<link rel="stylesheet" href="css/nivo-slider.css" type="text/css" media="screen" />
<script src="js/jquery.nivo.slider.pack.js" type="text/javascript"></script>
<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="js/jquery.nivo.slider.pack.js"></script>

<script type="text/javascript">
$(window).load(function() {
	$('#slider').nivoSlider({
		effect: 'fade', // Specify sets like: 'fold,fade,sliceDown'
		animSpeed: 500, // Slide transition speed
		pauseTime: 4000, // How long each slide will show
		directionNavHide: true, // Only show on hover
		captionOpacity: 0.8, // Universal caption opacity
	});
});
</script>
<?php }?>

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-5761012-6']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>

<?php if($page==8){?>
<script src="galleria/galleria-1.2.7.min.js"></script>
<?php }?>

</head>

<body>
<?php if($page==0){?>
		<div id="wrapper">
			<div id="intro_logo">
				<img src="images/intro4.jpg" />
			</div>
				<div id="intro_footer">
					<h1>BUCCI</h1>
					<h2>Sartoria tradizionale dal 1925</h2>
					<h3>Artena - Roma</h3>
				</div>
					<div id="intro_enter">
					<h4><a href="index.php?page=1">Entra</a> - <a href="index.php?page=1&lang=1">Enter</a></h4>
				</div>
		</div>
<?php } else {?>

	<div id="wrapper">
		<div id="container">
    		<?php include 'content.php'; ?>
    	</div>
    	<div id="menulevel">
	    	<?php include 'menu.php'; ?>
	    </div>
	   </div>
<?php }?>    
</body>
</html>